'use strict';

Object.defineProperty(exports, '__esModule', {
  value: true,
});
exports.default = void 0;

var _react = _interopRequireDefault(require('react'));

var _antd = require('antd');

require('./index.css');

function _interopRequireDefault(obj) {
  return obj && obj.__esModule ? obj : { default: obj };
}

var _default = function _default(props) {
  return _react.default.createElement(
    'div',
    {
      className: 'switch-root',
    },
    _react.default.createElement(
      _antd.Switch,
      Object.assign({}, props),
      props.children,
    ),
  );
};

exports.default = _default;
